<!-- $Id: searchengine_stats.htm 16420 2009-07-02 06:56:57Z liubo $ -->
{include file="pageheader.htm"}
<script type="text/javascript" src="../js/calendar.php?lang={$cfg_lang}"></script>
<link href="../js/calendar/calendar.css" rel="stylesheet" type="text/css" />
<div class="form-div">
  <form action="" method="post" id="selectForm">
     <div id="group">
       {$lang.start_date}&nbsp;&nbsp;
       <input name="start_date" value="{$start_date}" style="width:80px;" onclick="return showCalendar(this, '%Y-%m-%d', false, false, this);" />
       {$lang.end_date}&nbsp;&nbsp;
       <input name="end_date" value="{$end_date}" style="width:80px;" onclick="return showCalendar(this, '%Y-%m-%d', false, false, this);" /> 
     
       {$lang.show_num}&nbsp;&nbsp;
        <input name="show_num" type="text" size="8" value="{$show_num}" />
        <input type="hidden" name="order_type" value="{$order_type}" />
        <input type="submit" name="submit" value="{$lang.query}" class="button" />
  </form>
</div>


<div class="tab-div">
    <!-- tab bar -->
    <div id="tabbar-div">
      <p>
        <span class="tab-front" id="general-tab">{$lang.tab_keywords}</span>
      </p>
    </div>
    <!-- tab body -->
    <div id="tabbody-div">
        <!-- 关键字 -->
        <table width="100%" cellpadding="3" cellspacing="1">
           <tr>
            <th>{$lang.order_by}</th>
            <th align="left">{$lang.keywords}</th>
            <th align="left">{$lang.hits}</th>
          </tr>
        {foreach from=$res item=list name=val}
          <tr align="center">
            <td >{$smarty.foreach.val.iteration}</td>
            <td align="left">{$list.keyword}</td>
            <td align="left">{$list.num}</td>
          </tr>
        {foreachelse}
          <tr><td class="no-records" colspan="10">{$lang.no_records}</td></tr>
        {/foreach}
         </table>  
    </div>
</div>
{insert_scripts files="tab.js"}
{literal}
<script type="Text/Javascript" language="JavaScript">
<!--
onload = function()
{
    // 开始检查订单
    startCheckOrder();
}
//-->
</script>
{/literal}
{include file="pagefooter.htm"}